package app;

import java.util.Date;

import lib.Payload;

public class ChatPayload extends Payload {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8554705838734687076L;
	private Date date;
	private String author;
	private String text;
	
	public ChatPayload(String author, String text) {
		this.date = new Date();
		this.author = author;
		this.text = text;
	}

	public Date getDate() {
		return date;
	}

	public String getAuthor() {
		return author;
	}

	public String getText() {
		return text;
	}
	
}
